package dujiu.luogu.sequence;

import java.util.Scanner;

public class P5706 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        float t = scanner.nextFloat();
        int n = scanner.nextInt();
        System.out.println(String.format("%.3f",t/n));
        System.out.println(n*2);
    }
}
